<?xml version="1.0" encoding="UTF-8"?>
<validateThis xsi:noNamespaceSchemaLocation="http://www.validatevariables.org/validateThis.xsd"
              xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">

    <objectProperties>
		 <!-- boolean: Missing value equates to false, no need to add required rules -->
        <property name="Deleted">
            <rule type="boolean" contexts="*" />
        </property>
        <!-- strings -->
        <property name="Program_Year">
            <rule type="required" contexts="*" />
            <rule type="minLength" contexts="*">
                <param name="minLength" value="3" />
            </rule>
        </property>
		<property name="Workshop_IDs">
            <rule type="required" contexts="*" />
            <rule type="minLength" contexts="*">
                <param name="minLength" value="1" />
            </rule>
        </property>
        <!-- integers -->
        <property name="CSAC_Order_ID">
            <rule type="required" failureMessage="CSAC Order ID is required" contexts="*" />
            <rule type="integer" failureMessage="CSAC Order ID must be an integer" contexts="*" />
            <rule type="min" failureMessage="CSAC Order ID must be a positive integer" contexts="*">
                <param name="min" value="0" />
            </rule>
        </property>
		<property name="Organization_ID">
            <rule type="required" contexts="*" />
            <rule type="integer" contexts="*" />
            <rule type="min" contexts="*">
                <param name="min" value="1" />
            </rule>
        </property>
        <property name="Ordered_By_ID">
            <rule type="required" contexts="*" />
            <rule type="integer" contexts="*" />
            <rule type="min" contexts="*">
                <param name="min" value="1" />
            </rule>
        </property>
		<property name="Unique_Volunteers">
            <rule type="required" contexts="*" />
            <rule type="integer" contexts="*" />
            <rule type="min" contexts="*">
                <param name="min" value="0" />
            </rule>
        </property>
    </objectProperties>
</validateThis>
